package com.adamall.controller;

import lombok.Data;

@Data
public class Response_login<T> {
    boolean login;
    T user;

    public static <T> Response_login<T> of(boolean login, T user) {
        Response_login<T> response_login = new Response_login<>();
        response_login.login = login;
        response_login.user = user;
        return response_login;
    }
}
